package designPattern.decorator.decorators
{
	import designPattern.decorator.AComponent;
	import designPattern.decorator.ADecorator;
	
	public class Decorator_B extends ADecorator
	{
		private var bCom:AComponent;
		public function Decorator_B(component:AComponent)
		{
			bCom = component;
		}
		
		override public function getAttribute():Array
		{
			var temCom:Array = bCom.getAttribute();
			temCom.push("attribute_B");
			return temCom;
		}
	}
}